using System;

namespace Voodoo.Sauce.Internal.CrossPromo.Canvas
{
	public static class CrossPromoEvents
	{
		public static event Action ShowEvent;

		public static event Action HideEvent;

		public static void TriggerShow()
		{
			if (CrossPromoEvents.ShowEvent != null)
			{
				CrossPromoEvents.ShowEvent();
			}
		}

		public static void TriggerHide()
		{
			if (CrossPromoEvents.HideEvent != null)
			{
				CrossPromoEvents.HideEvent();
			}
		}
	}
}
